package com.wing.qualification.model.response;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.time.LocalDateTime;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import com.wing.qualification.model.entity.Qualification;

/**
 * 资质管理VO
 *
 * @author
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class QualificationVO {

    /**
     * ID
     */
    private Long id;

    /**
     * 创建时间
     */
    @JsonFormat(timezone = "GMT+8" , pattern = "yyyy-MM-dd HH:mm:ss" )
    private LocalDateTime createTime;

    /**
     * 创建者
     */
    private Long creator;

    /**
     * 修改者
     */
    private Long modifier;

    /**
     * 创建人
     */
    private String creatorName;

    /**
     * 修改人
     */
    private String modifierName;

    /**
     * 资质类型
     */
    private Long qualificationTypeId;

    /**
     * 认证机构
     */
    private String certification;

    /**
     * 状态
     */
    private Integer status;

    /**
    * 状态描述
    */
    @TableField(exist = false)
    private String statusDesc;


    /**
     * 资质名称
     */
    private String name;

    /**
     * 资质照片
     */
    private String qualificationUrl;

    /**
     * 资质有效开始期
     */
    @JsonFormat(timezone = "GMT+8" , pattern = "yyyy-MM-dd HH:mm:ss" )
    private LocalDateTime startTime;

    /**
     * 资质有效终止期
     */
    @JsonFormat(timezone = "GMT+8" , pattern = "yyyy-MM-dd HH:mm:ss" )
    private LocalDateTime stopTime;

    /**
     * 资质描述
     */
    private String qualificationDescribe;

}
